using System.Xml.Serialization;

namespace Edmx.Storage
{
    [XmlType(Namespace = EdmxConstants.StorageSchemaNamespace)]
    public class Constraint : MetadataEntityBase<Constraint>
    {
        [XmlElement("Principal")]
        public ReferentialConstraintRoleElement Principal { get; set; }

        [XmlElement("Dependent")]
        public ReferentialConstraintRoleElement Dependent { get; set; }
    }
}